package com.atguigu.gmall.common.config.threadPool;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "app.thread-pool")
@Data
public class AppThreadPoolProperties {
    /*app:
    thread-pool:
    core: 4
    max: 8
    queue-size: 2000
    keep-alive-time: 300*/

    Integer core;
    Integer max;
    Integer queueSize;
    Long keepAliveTime;
}
